package ee.serge.service;

import com.google.gwt.core.client.GWT;

public class Service {

   private static ControlPanelServiceAsync controlPanelService = GWT.create(ControlPanelService.class);
   private static PublicServiceAsync publicService = GWT.create(PublicService.class);
   private static ArticleServiceAsync articleService = GWT.create(ArticleService.class);
   
   private Service() {}

   public static ControlPanelServiceAsync getControlPanelService() {
      return controlPanelService;
   }

   public static PublicServiceAsync getPublicService() {
      return publicService;
   }

   public static ArticleServiceAsync getArticleService() {
      return articleService;
   }
   
}
